package com.zking.ssm.sys.service;

import com.zking.ssm.sys.model.HotelRoomNum;
import com.zking.ssm.util.PageBean;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Transactional
public interface IHotelRoomNumService {
    int deleteByPrimaryKey(Long id);

    int insert(HotelRoomNum record);

    int insertSelective(HotelRoomNum record);

    @Transactional(readOnly = true)
    HotelRoomNum selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(HotelRoomNum record);

    int updateByPrimaryKey(HotelRoomNum record);

    @Transactional(readOnly = true)
    List<HotelRoomNum> list (HotelRoomNum record, PageBean pageBean);
}
